package cn.seaboot.admin.flake.bean;

import io.swagger.v3.oas.annotations.media.Schema;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * POJO
 * 参数映射 [T_FLAKE_PARAM_MAP]
 *
 * @author Mr.css on 2018-6-20
 */
@Schema(description = "参数映射 [T_FLAKE_PARAM_MAP] 实体类")
public class FlakeParamMap implements Serializable {

    private static final long serialVersionUID = -8034551578591442697L;
    /**
     * databaseId
     */
    @NotNull
    @Size( max = 32)
    @Schema(description = "databaseId")
    private String databaseId;
    /**
     * ID
     */
    @NotNull
    @Size( max = 32)
    @Schema(description = "ID")
    private String paramId;
    /**
     * 对象类型
     */
    @Size( max = 32)
    @Schema(description = "对象类型")
    private String type;

    public String getDatabaseId() {
        return databaseId;
    }

    public void setDatabaseId(String databaseId) {
        this.databaseId = databaseId;
    }

    public String getParamId() {
        return paramId;
    }

    public void setParamId(String paramId) {
        this.paramId = paramId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
